package com.ebt.m.jpush;

import java.io.Serializable;

/**
 * JPush接收到的原始数据类
 * <br>该类根据JPush的返回字段封装,服务器返回的信息在message中<br/>
 * Created by archer.qi on 2016/12/27.
 */
public class JPushResult implements Serializable {
    public String title;
    public JPushMsg message;
    public String contentType;
    public String appKey;
    public String msgId;
    public String extra;
    // 推送类型： 通知、消息、点击通知、registerId；具体参考DoJPush参数设定
    public int pushType;

    @Override
    public String toString() {
        String str = "[title: " + title + "]"
                + "[message: " + message + "]"
                + "[contentType: " + contentType + "]"
                + "[appKey: " + appKey + "]"
                + "[msgId: " + msgId + "]"
                + "[extra: " + extra + "]"
                + "[pushType: " + pushType;
        return str;
    }
}
